package com.ruoyi.mobile.domain;

import java.io.Serializable;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 商品信息对象 sh_product
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sh_product")
@ApiModel(value="ShProductEntity对象", description="商品信息表")
public class ShProductEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "店铺id")
    private Long shopId;

    @ApiModelProperty(value = "商品标签(逗号分隔多个标签)")
    private String labelId;

    @ApiModelProperty(value = "发布用户id")
    private Long userId;

    @ApiModelProperty(value = "用户头像(冗余字段)")
    private String userPic;

    @ApiModelProperty(value = "商品大类")
    private Integer productType;

    @ApiModelProperty(value = "商品中类")
    private Integer productTypem;

    @ApiModelProperty(value = "商品小类")
    private Integer productTyped;

    @ApiModelProperty(value = "商品名称")
    private String productTitle;

    @ApiModelProperty(value = "商品描述")
    private String productDesc;

    @ApiModelProperty(value = "商品详细描述")
    private String productDetail;

    @ApiModelProperty(value = "商品价格")
    private BigDecimal productPrice;

    @ApiModelProperty(value = "商品折扣")
    private BigDecimal productDiscount;

    @ApiModelProperty(value = "分销比率")
    private BigDecimal discount;

    @ApiModelProperty(value = "分销梯度比率")
    private BigDecimal discountBl;

    @ApiModelProperty(value = "是否视频")
    private Integer isVideo;

    @ApiModelProperty(value = "显示类型(1横屏,2竖屏)")
    private Integer showType;

    @ApiModelProperty(value = "显示顺序")
    private Integer orderNum;

    @ApiModelProperty(value = "运行平台id")
    private String appId;
}
